import React from 'react';
import Table from '@/components/table/Table.jsx';

export default function Home() {
  return (
    <div>
      <Table
        tableColumn={[
          {
            title: 'q确定为',
            field: 'q',
            width: '100px',
            render: () => {
              return '4156 ';
            },
          },
          {
            title: 'q确定为',
            width: '100px',
            render: () => {
              return '确定为青蛙dqwwqdwqwdqwdwq大qwddqw青蛙大去1111 ';
            },
          },
          {
            title: 'q确定为',
            width: '100px',
            render: () => {
              return '确定为青蛙大去1111 ';
            },
          },
          {
            title: 'q确定为',
            width: '100px',
            render: () => {
              return '确定为青蛙大去1111 ';
            },
          },
          {
            title: 'q确定为',
            width: '100px',
            render: () => {
              return '确定为青蛙大去1111 ';
            },
          },
        ]}
        tableData={Array(200)
          .fill(1)
          .map((item, index) => {
            return { value: index, _index: index };
          })}
        itemHeight={48}
        align="center"
      ></Table>
    </div>
  );
}
